package Helpers;

import VOs.DateVO;
import Entity.Date;

public class DateHelper {
	
	public Date toEntity(DateVO vo){
		Date entity = new Date();
		entity.setDate(vo.getDate());
		entity.setId(vo.getId());
		entity.setMonth(vo.getMonth());
		entity.setYear(vo.getYear());
		
		return entity;
	}

}
